home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 6 / CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso / cucd / prog / mui / developer3.6 / autodocs / mui_gauge.doc < prev    next >
Text File  |  1996-08-20  |  2KB  |  96 lines

  1. TABLE OF CONTENTS
  2.  
  3. Gauge.mui/Gauge.mui
  4. Gauge.mui/MUIA_Gauge_Current
  5. Gauge.mui/MUIA_Gauge_Divide
  6. Gauge.mui/MUIA_Gauge_Horiz
  7. Gauge.mui/MUIA_Gauge_InfoText
  8. Gauge.mui/MUIA_Gauge_Max
  9. Gauge.mui/Gauge.mui
  10.  
  11.     A gauge object is a nice looking display element useful
  12.     for some kind of progress display.
  13. Gauge.mui/MUIA_Gauge_Current
  14.  
  15.     NAME
  16.     MUIA_Gauge_Current -- (V4 ) [ISG], LONG
  17.  
  18.     FUNCTION
  19.     Set the current level of the gauge. The value must be
  20.     between 0 and MUIA_Gauge_Max.
  21.  
  22.     SEE ALSO
  23.     MUIA_Gauge_Max
  24. Gauge.mui/MUIA_Gauge_Divide
  25.  
  26.     NAME
  27.     MUIA_Gauge_Divide -- (V4 ) [ISG], BOOL
  28.  
  29.     FUNCTION
  30.     If this attribute is != 0, every value set with
  31.     MUIA_Gauge_Current will be divided by this before
  32.     further processing.
  33.  
  34.     EXAMPLE
  35.     See BoopsiDoor demo program.
  36.  
  37.     SEE ALSO
  38.     MUIA_Gauge_Current
  39. Gauge.mui/MUIA_Gauge_Horiz
  40.  
  41.     NAME
  42.     MUIA_Gauge_Horiz -- (V4 ) [I..], BOOL
  43.  
  44.     FUNCTION
  45.     Determine if you want a horizontal or vertical gauge.
  46.     Default to FALSE
  47.  
  48.     SEE ALSO
  49.     MUIA_Gauge_Current
  50. Gauge.mui/MUIA_Gauge_InfoText
  51.  
  52.     NAME
  53.     MUIA_Gauge_InfoText -- (V7 ) [ISG], STRPTR
  54.  
  55.     FUNCTION
  56.     The text given here is displayed within a gauge object
  57.     and is usually intended to show some kind of percentage
  58.     information.
  59.  
  60.     This texts preparse is set to "\33c\0338", this makes
  61.     it appear centered and highlighted by default.
  62.  
  63.     Any %ld will be replaced with the current value of
  64.     MUIA_Gauge_Current.
  65.  
  66.     Note: Currently, InfoText works only for horizontal
  67.     gauges. If you intend to use and change info text,
  68.     you should specify an empty MUIA_Gauge_InfoText ("")
  69.     at object creation time. This makes your object get
  70.     a fixed height that fits the height of the info text.
  71.  
  72.     VERSION
  73.     Implemented in version 7 of gauge class (MUI 1.5).
  74.  
  75.     EXAMPLE
  76.     ...
  77.     MUIA_Gauge_InfoText, "%ld %%",
  78.     ...
  79.  
  80.     SEE ALSO
  81.     MUIA_Gauge_Current
  82. Gauge.mui/MUIA_Gauge_Max
  83.  
  84.     NAME
  85.     MUIA_Gauge_Max -- (V4 ) [ISG], LONG
  86.  
  87.     FUNCTION
  88.     Set the maximum value for the gauge.
  89.     Defaults to 100.
  90.  
  91.     Currently, MUIA_Gauge_Max and MUIA_Gauge_Current 
  92.     is limited to 16 bit.
  93.  
  94.     SEE ALSO
  95.     MUIA_Gauge_Current
  96.